//输出两个string变量s1,s2.假设已经初始化，编写一个表达式，按照字典顺序分行输出这两个字符串。
public class SR5_16
{
  public static void main(String []args)
  {
   String s1 = "qingming";
   String s2 = "chuntian";
   
   if (s1.compareTo(s2) < 0)
      System.out.println(s1 + "\n" + s2);
   else
      System.out.println(s2 + "\n" + s1);
  }
}  
